package com.hecate;

/**
 * @author 黄星星
 * @date 2020-04-14
 */
public class MyThreadTwo {
    public static void main(String[] args) {
        for(int i=0;i<10;i++){
            new ExtendsThread().start();
        }
        System.out.println(Thread.currentThread().getName());
    }
}

class ImplRunablee implements Runnable{

    @Override
    public void run() {
        System.out.println("--------" + Thread.currentThread().getName());
    }
}
